package {
	import flash.display.Bitmap;
	import flash.display.Sprite;

	public class Antorcha extends Sprite {
		[Embed(source='../assets/antorcha.png')]
		public var myTorch:Class;
		private var myAura:Sprite;
		public function Antorcha() {
			var mt:Bitmap = new myTorch();
			addChild(mt);
			drawAura();
		}
		private function drawAura():void{
			myAura = new Sprite;
			myAura.graphics.beginFill(0x00ff00);
			myAura.graphics.drawRect(width/2-30, height/2-50, width/4, height/2);
			addChild(myAura);
			myAura.visible = false;
		}
		public function get aura():Sprite{
			return myAura;
		}
	}
}
